home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / qrprev.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  3.7 KB  |  103 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'QRPrev.pas' rev: 3.00
  6.  
  7. #ifndef QRPrevHPP
  8. #define QRPrevHPP
  9. #include <qr2const.hpp>
  10. #include <qrprntr.hpp>
  11. #include <Buttons.hpp>
  12. #include <StdCtrls.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <Dialogs.hpp>
  15. #include <Forms.hpp>
  16. #include <Controls.hpp>
  17. #include <Graphics.hpp>
  18. #include <Classes.hpp>
  19. #include <SysUtils.hpp>
  20. #include <Messages.hpp>
  21. #include <Windows.hpp>
  22. #include <SysInit.hpp>
  23. #include <System.hpp>
  24.  
  25. //-- user supplied -----------------------------------------------------------
  26.  
  27. namespace Qrprev
  28. {
  29. //-- type declarations -------------------------------------------------------
  30. class DELPHICLASS TQRStandardPreview;
  31. class PASCALIMPLEMENTATION TQRStandardPreview : public Forms::TForm 
  32. {
  33.     typedef Forms::TForm inherited;
  34.     
  35. __published:
  36.     Extctrls::TPanel* Toolbar;
  37.     Extctrls::TPanel* StatusPanel;
  38.     Buttons::TSpeedButton* ZoomToFit;
  39.     Buttons::TSpeedButton* ZoomTo100;
  40.     Buttons::TSpeedButton* ZoomToWidth;
  41.     Buttons::TSpeedButton* FirstPage;
  42.     Buttons::TSpeedButton* PrevPage;
  43.     Buttons::TSpeedButton* NextPage;
  44.     Buttons::TSpeedButton* LastPage;
  45.     Buttons::TSpeedButton* PrintSetup;
  46.     Buttons::TSpeedButton* Print;
  47.     Buttons::TSpeedButton* Save;
  48.     Buttons::TSpeedButton* Load;
  49.     Buttons::TBitBtn* Exit;
  50.     Extctrls::TPanel* Panel1;
  51.     Stdctrls::TLabel* Status;
  52.     Qrprntr::TQRPreview* QRPreview;
  53.     void __fastcall FormClose(System::TObject* Sender, Forms::TCloseAction &Action);
  54.     void __fastcall ZoomToFitClick(System::TObject* Sender);
  55.     void __fastcall ZoomTo100Click(System::TObject* Sender);
  56.     void __fastcall ZoomToWidthClick(System::TObject* Sender);
  57.     void __fastcall FirstPageClick(System::TObject* Sender);
  58.     void __fastcall PrevPageClick(System::TObject* Sender);
  59.     void __fastcall NextPageClick(System::TObject* Sender);
  60.     void __fastcall LastPageClick(System::TObject* Sender);
  61.     void __fastcall PrintClick(System::TObject* Sender);
  62.     void __fastcall ExitClick(System::TObject* Sender);
  63.     void __fastcall FormResize(System::TObject* Sender);
  64.     void __fastcall FormKeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
  65.     void __fastcall SaveClick(System::TObject* Sender);
  66.     void __fastcall PrintSetupClick(System::TObject* Sender);
  67.     void __fastcall LoadClick(System::TObject* Sender);
  68.     void __fastcall QRPreviewPageAvailable(System::TObject* Sender, int PageNum);
  69.     void __fastcall QRPreviewProgressUpdate(System::TObject* Sender, int Progress);
  70.     void __fastcall FormCreate(System::TObject* Sender);
  71.     
  72. private:
  73.     Qrprntr::TQRPrinter* FQRPrinter;
  74.     Qrprntr::TQRGauge* Gauge;
  75.     
  76. public:
  77.     __fastcall virtual TQRStandardPreview(Classes::TComponent* AOwner, Qrprntr::TQRPrinter* aQRPrinter)
  78.         ;
  79.     HIDESBASE void __fastcall Show(void);
  80.     void __fastcall UpdateInfo(void);
  81.     __property Qrprntr::TQRPrinter* QRPrinter = {read=FQRPrinter, write=FQRPrinter};
  82. public:
  83.     /* TCustomForm.Create */ __fastcall virtual TQRStandardPreview(Classes::TComponent* AOwner) : Forms::
  84.         TForm(AOwner) { }
  85.     /* TCustomForm.CreateNew */ __fastcall TQRStandardPreview(Classes::TComponent* AOwner, int Dummy) : 
  86.         Forms::TForm(AOwner, Dummy) { }
  87.     /* TCustomForm.Destroy */ __fastcall virtual ~TQRStandardPreview(void) { }
  88.     
  89. public:
  90.     /* TWinControl.CreateParented */ __fastcall TQRStandardPreview(HWND ParentWindow) : Forms::TForm(ParentWindow
  91.         ) { }
  92.     
  93. };
  94.  
  95. //-- var, const, procedure ---------------------------------------------------
  96.  
  97. }    /* namespace Qrprev */
  98. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  99. using namespace Qrprev;
  100. #endif
  101. //-- end unit ----------------------------------------------------------------
  102. #endif    // QRPrev
  103.